package cn.qayy.dao;

import java.util.List;
import java.util.Map;

import cn.qayy.dto.CashFlowDTO;
import cn.qayy.po.CashFlow;
import cn.qayy.service.Uploadable;

public interface CashFlowPMapper {
	int deleteByPrimaryKey(int id);

    int insert(Object record);

    int insertSelective(Object record);

    CashFlow selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(Object record);

    int updateByPrimaryKey(Object record);

    List<CashFlowDTO> selectCashFlowForDown(Map<String, Object> params) ;

    int updateByList(List<Uploadable> planlist);

    int insertByList(List<Object> planlist);

    List<CashFlow> selectCashFlowBy(CashFlowDTO dto) ;

	List<? extends String> selectPzKeys();

	CashFlow getCashFlow(Map<String,Object> params);

	int deleteByList(List list);

	int delete(Object bean);
	
	List<Map<String,String>> selectCashFlowAuto();
	
	List<Map<String, Object>> selectCashFlowByDown(CashFlowDTO dto);

	List<Integer> selectIdsByMap(CashFlowDTO dto);
}